export const TABLE_CLOUMNS = [
  {
    label: '序号',
    prop: 'index'
  },
  {
    label: '姓名',
    prop: 'username',
    sortable: true
  },
  {
    label: '手机号',
    prop: 'mobile',
    sortable: true
  },
  {
    label: '工号',
    prop: 'workNumber',
    sortable: true
  },
  {
    label: '聘用形式',
    prop: 'formOfEmployment',
    sortable: true
  },
  {
    label: '部门',
    prop: 'departmentName',
    sortable: true
  },
  {
    label: '入职时间',
    prop: 'timeOfEntry',
    sortable: true
  },
  {
    label: '是否在职',
    prop: 'formOfEmployment',
    sortable: true
  },
  {
    label: '状态',
    prop: 'enableState',
    sortable: true
  },
  {
    label: '操作',
    fixed: 'right',
    width: 300,
    children: [
      {
        type: 'button',
        name: '查看',
        key: 'detail'
      },
      {
        type: 'button',
        name: '转正',
        key: 'regular'
      },
      {
        type: 'button',
        name: '调岗',
        key: 'transfer'
      },
      {
        type: 'button',
        name: '离职',
        key: 'dimisstion'
      },
      {
        type: 'button',
        name: '角色',
        key: 'role'
      },
      {
        type: 'button',
        name: '删除',
        key: 'delete'
      }
    ]
  }
]
